object Test {
  val x: AnyRef = ()  // this should not succeed.
}
